package com.gba.mark.user.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;

    //账号
    private String username;

    //密码
    private String password;

    //手机号
    private String phone;

    //邮箱
    private String mail;

    //用户姓名
    private String name;

    //账号创建时间
    private Date create_time;

    //账户信息修改时间
    private Date update_time;

//    //用户评分
//    private Float score;

}
